package com.itheima.test4;

import java.util.ArrayList;
import java.util.Arrays;

public class Demo4 {
    public static void main(String[] args) {
        String str = "44 99 55 111 88 22 11 77 33 66";
        String[] strs = str.split(" ");
        int[] arr = new int[strs.length];
        for (int i = 0; i < strs.length; i++) {
            arr[i] = Integer.parseInt(strs[i]);
        }
        Arrays.sort(arr);
//        String s = Arrays.toString(arr);
//        System.out.println(s);
        for (int i = 0; i < arr.length; i++) {
           if (arr[i] >= 100) {
               continue;
           }
           String result = String.valueOf(arr[i] + " ");
           System.out.print(result);
       }
    }
}

